package com.pickup.mapper;

import com.pickup.pojo.ChatMsg;
import com.pickup.pojo.Users;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;
import tk.mybatis.spring.annotation.MapperScan;

import java.util.ArrayList;
import java.util.List;
@Mapper
public interface UsersMapper {

    public Users queryUsernameIsExist(String username);

    public Users queryCellPhoneIsExist(String cellPhone);

    public Boolean updateByPassWord(ArrayList<Users> users);

    public Boolean updateCid(ArrayList<Users> cid);

    public Users queryUserForLogin(String keyword, String password);

    public Users selectOneByUser(String keyword);

    Boolean bindMobile(String username, String cellphone);

    public void insertUserInfo(ArrayList<Users> users);

    public void updateByUserImages(ArrayList<Users> users);

    public Users selectByUser(String userId);

}